Integrand size = 24, antiderivative size = 145 \[ \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx=\frac {d (2 b c+a d) x \sqrt {c+d x^2}}{2 a b}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}-\frac {(b c-a d)^{5/2} \arctan \left (\frac {\sqrt {b c-a d} x}{\sqrt {a} \sqrt {c+d x^2}}\right )}{a^{3/2} b^2}+\frac {d^{3/2} (5 b c-2 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{2 b^2} \]
-c*(d*x^2+c)^(3/2)/a/x-(-a*d+b*c)^(5/2)*arctan(x*(-a*d+b*c)^(1/2)/a^(1/2)/ (d*x^2+c)^(1/2))/a^(3/2)/b^2+1/2*d^(3/2)*(-2*a*d+5*b*c)*arctanh(x*d^(1/2)/ (d*x^2+c)^(1/2))/b^2+1/2*d*(a*d+2*b*c)*x*(d*x^2+c)^(1/2)/a/b
Time = 0.31 (sec) , antiderivative size = 148, normalized size of antiderivative = 1.02 \[ \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx=\frac {\frac {b \sqrt {c+d x^2} \left (-2 b c^2+a d^2 x^2\right )}{a x}+\frac {2 (b c-a d)^{5/2} \arctan \left (\frac {a \sqrt {d}+b x \left (\sqrt {d} x-\sqrt {c+d x^2}\right )}{\sqrt {a} \sqrt {b c-a d}}\right )}{a^{3/2}}+d^{3/2} (-5 b c+2 a d) \log \left (-\sqrt {d} x+\sqrt {c+d x^2}\right )}{2 b^2} \]
((b*Sqrt[c + d*x^2]*(-2*b*c^2 + a*d^2*x^2))/(a*x) + (2*(b*c - a*d)^(5/2)*A rcTan[(a*Sqrt[d] + b*x*(Sqrt[d]*x - Sqrt[c + d*x^2]))/(Sqrt[a]*Sqrt[b*c - a*d])])/a^(3/2) + d^(3/2)*(-5*b*c + 2*a*d)*Log[-(Sqrt[d]*x) + Sqrt[c + d*x ^2]])/(2*b^2)
Time = 0.36 (sec) , antiderivative size = 155, normalized size of antiderivative = 1.07, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {376, 25, 403, 398, 224, 219, 291, 218}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx\) |
\(\Big \downarrow \) 376 |
\(\displaystyle \frac {\int -\frac {\sqrt {d x^2+c} \left (c (b c-4 a d)-d (2 b c+a d) x^2\right )}{b x^2+a}dx}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\frac {\int \frac {\sqrt {d x^2+c} \left (c (b c-4 a d)-d (2 b c+a d) x^2\right )}{b x^2+a}dx}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
\(\Big \downarrow \) 403 |
\(\displaystyle -\frac {\frac {\int \frac {c \left (2 b^2 c^2-6 a b d c+a^2 d^2\right )-a d^2 (5 b c-2 a d) x^2}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{2 b}-\frac {d x \sqrt {c+d x^2} (a d+2 b c)}{2 b}}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
\(\Big \downarrow \) 398 |
\(\displaystyle -\frac {\frac {\frac {2 (b c-a d)^3 \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{b}-\frac {a d^2 (5 b c-2 a d) \int \frac {1}{\sqrt {d x^2+c}}dx}{b}}{2 b}-\frac {d x \sqrt {c+d x^2} (a d+2 b c)}{2 b}}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
\(\Big \downarrow \) 224 |
\(\displaystyle -\frac {\frac {\frac {2 (b c-a d)^3 \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{b}-\frac {a d^2 (5 b c-2 a d) \int \frac {1}{1-\frac {d x^2}{d x^2+c}}d\frac {x}{\sqrt {d x^2+c}}}{b}}{2 b}-\frac {d x \sqrt {c+d x^2} (a d+2 b c)}{2 b}}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle -\frac {\frac {\frac {2 (b c-a d)^3 \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{b}-\frac {a d^{3/2} (5 b c-2 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{b}}{2 b}-\frac {d x \sqrt {c+d x^2} (a d+2 b c)}{2 b}}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
\(\Big \downarrow \) 291 |
\(\displaystyle -\frac {\frac {\frac {2 (b c-a d)^3 \int \frac {1}{a-\frac {(a d-b c) x^2}{d x^2+c}}d\frac {x}{\sqrt {d x^2+c}}}{b}-\frac {a d^{3/2} (5 b c-2 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{b}}{2 b}-\frac {d x \sqrt {c+d x^2} (a d+2 b c)}{2 b}}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
\(\Big \downarrow \) 218 |
\(\displaystyle -\frac {\frac {\frac {2 (b c-a d)^{5/2} \arctan \left (\frac {x \sqrt {b c-a d}}{\sqrt {a} \sqrt {c+d x^2}}\right )}{\sqrt {a} b}-\frac {a d^{3/2} (5 b c-2 a d) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c+d x^2}}\right )}{b}}{2 b}-\frac {d x \sqrt {c+d x^2} (a d+2 b c)}{2 b}}{a}-\frac {c \left (c+d x^2\right )^{3/2}}{a x}\) |
-((c*(c + d*x^2)^(3/2))/(a*x)) - (-1/2*(d*(2*b*c + a*d)*x*Sqrt[c + d*x^2]) /b + ((2*(b*c - a*d)^(5/2)*ArcTan[(Sqrt[b*c - a*d]*x)/(Sqrt[a]*Sqrt[c + d* x^2])])/(Sqrt[a]*b) - (a*d^(3/2)*(5*b*c - 2*a*d)*ArcTanh[(Sqrt[d]*x)/Sqrt[ c + d*x^2]])/b)/(2*b))/a
3.7.100.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/R t[a/b, 2]], x] /; FreeQ[{a, b}, x] && PosQ[a/b]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b}, x] && !GtQ[a, 0]
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Subst [Int[1/(c - (b*c - a*d)*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]
Int[((e_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_) , x_Symbol] :> Simp[c*(e*x)^(m + 1)*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q - 1 )/(a*e*(m + 1))), x] - Simp[1/(a*e^2*(m + 1)) Int[(e*x)^(m + 2)*(a + b*x^ 2)^p*(c + d*x^2)^(q - 2)*Simp[c*(b*c - a*d)*(m + 1) + 2*c*(b*c*(p + 1) + a* d*(q - 1)) + d*((b*c - a*d)*(m + 1) + 2*b*c*(p + q))*x^2, x], x], x] /; Fre eQ[{a, b, c, d, e, p}, x] && NeQ[b*c - a*d, 0] && GtQ[q, 1] && LtQ[m, -1] & & IntBinomialQ[a, b, c, d, e, m, 2, p, q, x]
Int[((e_) + (f_.)*(x_)^2)/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]) , x_Symbol] :> Simp[f/b Int[1/Sqrt[c + d*x^2], x], x] + Simp[(b*e - a*f)/ b Int[1/((a + b*x^2)*Sqrt[c + d*x^2]), x], x] /; FreeQ[{a, b, c, d, e, f} , x]
Int[((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.)*((e_) + (f_.)*( x_)^2), x_Symbol] :> Simp[f*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^q/(b*(2*(p + q + 1) + 1))), x] + Simp[1/(b*(2*(p + q + 1) + 1)) Int[(a + b*x^2)^p*(c + d*x^2)^(q - 1)*Simp[c*(b*e - a*f + b*e*2*(p + q + 1)) + (d*(b*e - a*f) + f*2*q*(b*c - a*d) + b*d*e*2*(p + q + 1))*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && GtQ[q, 0] && NeQ[2*(p + q + 1) + 1, 0]
Time = 3.08 (sec) , antiderivative size = 139, normalized size of antiderivative = 0.96
method | result | size |
pseudoelliptic | \(-\frac {-x \left (a d -b c \right )^{3} \operatorname {arctanh}\left (\frac {\sqrt {d \,x^{2}+c}\, a}{x \sqrt {\left (a d -b c \right ) a}}\right )+\sqrt {\left (a d -b c \right ) a}\, \left (x a \left (d^{\frac {5}{2}} a -\frac {5 b \,d^{\frac {3}{2}} c}{2}\right ) \operatorname {arctanh}\left (\frac {\sqrt {d \,x^{2}+c}}{x \sqrt {d}}\right )-\frac {b \sqrt {d \,x^{2}+c}\, \left (a \,d^{2} x^{2}-2 b \,c^{2}\right )}{2}\right )}{\sqrt {\left (a d -b c \right ) a}\, a x \,b^{2}}\) | \(139\) |
risch | \(\frac {\sqrt {d \,x^{2}+c}\, \left (a \,d^{2} x^{2}-2 b \,c^{2}\right )}{2 b a x}-\frac {\frac {a \,d^{\frac {3}{2}} \left (2 a d -5 b c \right ) \ln \left (x \sqrt {d}+\sqrt {d \,x^{2}+c}\right )}{b}-\frac {\left (-a^{3} d^{3}+3 a^{2} b c \,d^{2}-3 a \,b^{2} c^{2} d +b^{3} c^{3}\right ) \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {d \left (x -\frac {\sqrt {-a b}}{b}\right )^{2}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x -\frac {\sqrt {-a b}}{b}}\right )}{\sqrt {-a b}\, b \sqrt {-\frac {a d -b c}{b}}}-\frac {\left (a^{3} d^{3}-3 a^{2} b c \,d^{2}+3 a \,b^{2} c^{2} d -b^{3} c^{3}\right ) \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {d \left (x +\frac {\sqrt {-a b}}{b}\right )^{2}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x +\frac {\sqrt {-a b}}{b}}\right )}{\sqrt {-a b}\, b \sqrt {-\frac {a d -b c}{b}}}}{2 a b}\) | \(461\) |
default | \(\text {Expression too large to display}\) | \(2177\) |
-1/((a*d-b*c)*a)^(1/2)*(-x*(a*d-b*c)^3*arctanh((d*x^2+c)^(1/2)/x*a/((a*d-b *c)*a)^(1/2))+((a*d-b*c)*a)^(1/2)*(x*a*(d^(5/2)*a-5/2*b*d^(3/2)*c)*arctanh ((d*x^2+c)^(1/2)/x/d^(1/2))-1/2*b*(d*x^2+c)^(1/2)*(a*d^2*x^2-2*b*c^2)))/a/ x/b^2
Time = 0.61 (sec) , antiderivative size = 887, normalized size of antiderivative = 6.12 \[ \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx=\left [-\frac {{\left (5 \, a b c d - 2 \, a^{2} d^{2}\right )} \sqrt {d} x \log \left (-2 \, d x^{2} + 2 \, \sqrt {d x^{2} + c} \sqrt {d} x - c\right ) - {\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} x \sqrt {-\frac {b c - a d}{a}} \log \left (\frac {{\left (b^{2} c^{2} - 8 \, a b c d + 8 \, a^{2} d^{2}\right )} x^{4} + a^{2} c^{2} - 2 \, {\left (3 \, a b c^{2} - 4 \, a^{2} c d\right )} x^{2} + 4 \, {\left (a^{2} c x - {\left (a b c - 2 \, a^{2} d\right )} x^{3}\right )} \sqrt {d x^{2} + c} \sqrt {-\frac {b c - a d}{a}}}{b^{2} x^{4} + 2 \, a b x^{2} + a^{2}}\right ) - 2 \, {\left (a b d^{2} x^{2} - 2 \, b^{2} c^{2}\right )} \sqrt {d x^{2} + c}}{4 \, a b^{2} x}, -\frac {2 \, {\left (5 \, a b c d - 2 \, a^{2} d^{2}\right )} \sqrt {-d} x \arctan \left (\frac {\sqrt {-d} x}{\sqrt {d x^{2} + c}}\right ) - {\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} x \sqrt {-\frac {b c - a d}{a}} \log \left (\frac {{\left (b^{2} c^{2} - 8 \, a b c d + 8 \, a^{2} d^{2}\right )} x^{4} + a^{2} c^{2} - 2 \, {\left (3 \, a b c^{2} - 4 \, a^{2} c d\right )} x^{2} + 4 \, {\left (a^{2} c x - {\left (a b c - 2 \, a^{2} d\right )} x^{3}\right )} \sqrt {d x^{2} + c} \sqrt {-\frac {b c - a d}{a}}}{b^{2} x^{4} + 2 \, a b x^{2} + a^{2}}\right ) - 2 \, {\left (a b d^{2} x^{2} - 2 \, b^{2} c^{2}\right )} \sqrt {d x^{2} + c}}{4 \, a b^{2} x}, -\frac {2 \, {\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} x \sqrt {\frac {b c - a d}{a}} \arctan \left (\frac {{\left ({\left (b c - 2 \, a d\right )} x^{2} - a c\right )} \sqrt {d x^{2} + c} \sqrt {\frac {b c - a d}{a}}}{2 \, {\left ({\left (b c d - a d^{2}\right )} x^{3} + {\left (b c^{2} - a c d\right )} x\right )}}\right ) + {\left (5 \, a b c d - 2 \, a^{2} d^{2}\right )} \sqrt {d} x \log \left (-2 \, d x^{2} + 2 \, \sqrt {d x^{2} + c} \sqrt {d} x - c\right ) - 2 \, {\left (a b d^{2} x^{2} - 2 \, b^{2} c^{2}\right )} \sqrt {d x^{2} + c}}{4 \, a b^{2} x}, -\frac {{\left (5 \, a b c d - 2 \, a^{2} d^{2}\right )} \sqrt {-d} x \arctan \left (\frac {\sqrt {-d} x}{\sqrt {d x^{2} + c}}\right ) + {\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} x \sqrt {\frac {b c - a d}{a}} \arctan \left (\frac {{\left ({\left (b c - 2 \, a d\right )} x^{2} - a c\right )} \sqrt {d x^{2} + c} \sqrt {\frac {b c - a d}{a}}}{2 \, {\left ({\left (b c d - a d^{2}\right )} x^{3} + {\left (b c^{2} - a c d\right )} x\right )}}\right ) - {\left (a b d^{2} x^{2} - 2 \, b^{2} c^{2}\right )} \sqrt {d x^{2} + c}}{2 \, a b^{2} x}\right ] \]
[-1/4*((5*a*b*c*d - 2*a^2*d^2)*sqrt(d)*x*log(-2*d*x^2 + 2*sqrt(d*x^2 + c)* sqrt(d)*x - c) - (b^2*c^2 - 2*a*b*c*d + a^2*d^2)*x*sqrt(-(b*c - a*d)/a)*lo g(((b^2*c^2 - 8*a*b*c*d + 8*a^2*d^2)*x^4 + a^2*c^2 - 2*(3*a*b*c^2 - 4*a^2* c*d)*x^2 + 4*(a^2*c*x - (a*b*c - 2*a^2*d)*x^3)*sqrt(d*x^2 + c)*sqrt(-(b*c - a*d)/a))/(b^2*x^4 + 2*a*b*x^2 + a^2)) - 2*(a*b*d^2*x^2 - 2*b^2*c^2)*sqrt (d*x^2 + c))/(a*b^2*x), -1/4*(2*(5*a*b*c*d - 2*a^2*d^2)*sqrt(-d)*x*arctan( sqrt(-d)*x/sqrt(d*x^2 + c)) - (b^2*c^2 - 2*a*b*c*d + a^2*d^2)*x*sqrt(-(b*c - a*d)/a)*log(((b^2*c^2 - 8*a*b*c*d + 8*a^2*d^2)*x^4 + a^2*c^2 - 2*(3*a*b *c^2 - 4*a^2*c*d)*x^2 + 4*(a^2*c*x - (a*b*c - 2*a^2*d)*x^3)*sqrt(d*x^2 + c )*sqrt(-(b*c - a*d)/a))/(b^2*x^4 + 2*a*b*x^2 + a^2)) - 2*(a*b*d^2*x^2 - 2* b^2*c^2)*sqrt(d*x^2 + c))/(a*b^2*x), -1/4*(2*(b^2*c^2 - 2*a*b*c*d + a^2*d^ 2)*x*sqrt((b*c - a*d)/a)*arctan(1/2*((b*c - 2*a*d)*x^2 - a*c)*sqrt(d*x^2 + c)*sqrt((b*c - a*d)/a)/((b*c*d - a*d^2)*x^3 + (b*c^2 - a*c*d)*x)) + (5*a* b*c*d - 2*a^2*d^2)*sqrt(d)*x*log(-2*d*x^2 + 2*sqrt(d*x^2 + c)*sqrt(d)*x - c) - 2*(a*b*d^2*x^2 - 2*b^2*c^2)*sqrt(d*x^2 + c))/(a*b^2*x), -1/2*((5*a*b* c*d - 2*a^2*d^2)*sqrt(-d)*x*arctan(sqrt(-d)*x/sqrt(d*x^2 + c)) + (b^2*c^2 - 2*a*b*c*d + a^2*d^2)*x*sqrt((b*c - a*d)/a)*arctan(1/2*((b*c - 2*a*d)*x^2 - a*c)*sqrt(d*x^2 + c)*sqrt((b*c - a*d)/a)/((b*c*d - a*d^2)*x^3 + (b*c^2 - a*c*d)*x)) - (a*b*d^2*x^2 - 2*b^2*c^2)*sqrt(d*x^2 + c))/(a*b^2*x)]
\[ \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx=\int \frac {\left (c + d x^{2}\right )^{\frac {5}{2}}}{x^{2} \left (a + b x^{2}\right )}\, dx \]
\[ \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx=\int { \frac {{\left (d x^{2} + c\right )}^{\frac {5}{2}}}{{\left (b x^{2} + a\right )} x^{2}} \,d x } \]
Exception generated. \[ \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx=\text {Exception raised: TypeError} \]
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:index.cc index_m i_lex_is_greater E rror: Bad Argument Value
Timed out. \[ \int \frac {\left (c+d x^2\right )^{5/2}}{x^2 \left (a+b x^2\right )} \, dx=\int \frac {{\left (d\,x^2+c\right )}^{5/2}}{x^2\,\left (b\,x^2+a\right )} \,d x \]